package com.aiyan.edu.api.auth;

import com.aiyan.edu.framework.domain.ucenter.request.LoginRequest;
import com.aiyan.edu.framework.domain.ucenter.response.JwtResult;
import com.aiyan.edu.framework.domain.ucenter.response.LoginResult;
import com.aiyan.edu.framework.model.response.CommonResponseResult;
import com.aiyan.edu.framework.model.response.ResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

/**
 * @author: zqzhou
 * @create: 2019/11/21 20:45
 **/
@Api(value = "用户认证", description = "用户认证接口")
public interface AuthControllerApi {

    @ApiOperation("登录")
    public LoginResult login(LoginRequest loginRequest);

    @ApiOperation("登出")
    public ResponseResult logout();

    @ApiOperation("获取用户jwt令牌")
    public JwtResult userJwt();
}
